#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
char* grade_level(int s) {
	switch (s / 10)
	{
	case 7:
		return "general";
	case 8:
		return "good";
	case 6:
		return "pass";
	default:
		if (s < 60)
		{
			return "bad";
		}
		else
		{
			return "excellent";
		}
	}
}
int main() {
	int score = 0;
	char* level = 0;
	printf("Please input student's score:");
	scanf("%d", &score);
	level = grade_level(score);
	printf("grade level is:%s", level);
	return 0;
}